






.warpper-container {
  code {
    font-family: 'source-code-pro', Menlo, 'Courier New', Consolas, monospace;
  }

  pre {
    overflow: initial;
  }

  .button-demo {
    .button {
      margin: 8px;
    }
  }

  background: #fff;
  position: relative;
  padding: 40px 0 70px;
  display: flex;
  overflow: auto;
  zoom: 1;

  //侧边栏
  .menu-container {
    min-width: 280px;
    max-width: 280px;
    border-right: 1px solid #e8e8e8;
    margin-right: 30px;
    position: fixed;

    ul {
      padding: 0;
      margin: 0;
      overflow: hidden;
      max-height: 680px;
      overflow-x: hidden;
      overflow-y: auto;
      //滚动条样式（只适用于chrome浏览器）
      &::-webkit-scrollbar { /*滚动条整体样式*/
        width: 10px;
        border-radius: 5px;
      }
      &::-webkit-scrollbar-track { /*滚动条里面轨道*/
        background-color: #f1f1f1;
        border-radius: 5px;
      }
      &::-webkit-scrollbar-thumb { /*滚动条里面小方块*/
        background: #d2d2d2;
        border-radius: 5px;
      }
    }

    .menu-item {
      font-size: 14px;
      text-overflow: ellipsis;
      white-space: nowrap;
      height: 40px;
      line-height: 40px;
    }

    a {
      text-decoration: none;
      color: #333;
      padding: 0 40px;
      display: block;

      &:hover {
        color: #20a0ff;
      }
    }

    .menu-item.active {
      background-color: #f3f3f3;
      border-right: 2px solid #2d8cf0;

      a {
        color: #20a0ff;
      }
    }
  }

  //页面
  .main-container {
    margin-left: 320px;
    width: 60%;
    vertical-align: top;

    p {
      margin: 10px 0;
      font-size: 14px;
    }

    ul.docs-list {
      list-style-type: circle;
      font-size: 14px;
      color: #333;
      margin-left: 20px;

      li {
        margin-bottom: 6px;
      }
    }

    table.grid {
      border-collapse: collapse;
      width: 100%;
      background-color: #fff;
      color: #5e6d82;
      font-size: 14px;
      margin-bottom: 45px;
      line-height: 1.5em;

      strong {
        font-weight: normal;
      }

      th {
        text-align: left;
        border-top: 1px solid #eaeefb;
        background-color: #EFF2F7;
        white-space: nowrap;
      }

      td, th {
        border: 1px solid #eaeefb;
        padding: 10px;
        max-width: 250px;
      }

      th:first-child, td:first-child {
        padding-left: 10px;
      }
    }
  }
}
